<template>
  <el-container>
    <el-header>小U商城后台管理系统</el-header>
    <el-container>
      <el-aside width="200px">
          <v-menu></v-menu>
      </el-aside>
      <el-main>
        <!-- 二级路由 -->
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script setup>
// 引入组件
import vMenu from "@/components/vMenu.vue"
</script>

<style scoped>
.el-header {
  line-height: 60px;
  background: rgb(81, 142, 203);
  color: #fff;
  font-size: 24px;
}
.el-aside {
  background: rgb(61, 95, 129);
  height: calc(100vh - 60px);
  overflow: hidden;
}
</style>